PyPortfolioOpt | Financial portfolio optimisation in python | Portfolio library

 by   robertmartin8 Jupyter Notebook Version: 1.5.5 License: MIT

kandi X-RAY | PyPortfolioOpt Summary

kandi X-RAY | PyPortfolioOpt Summary

PyPortfolioOpt is a Jupyter Notebook library typically used in Web Site, Portfolio applications. PyPortfolioOpt has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

           . PyPortfolioOpt is a library that implements portfolio optimization methods, including classical mean-variance optimization techniques and Black-Litterman allocation, as well as more recent developments in the field like shrinkage and Hierarchical Risk Parity, along with some novel experimental features like exponentially-weighted covariance matrices. It is extensive yet easily extensible, and can be useful for both the casual investor and the serious practitioner. Whether you are a fundamentals-oriented investor who has identified a handful of undervalued picks, or an algorithmic trader who has a basket of strategies, PyPortfolioOpt can help you combine your alpha sources in a risk-efficient way. Head over to the documentation on ReadTheDocs to get an in-depth look at the project, or check out the cookbook to see some examples showing the full process from downloading data to building a portfolio.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PyPortfolioOpt has a medium active ecosystem.
              It has 3558 star(s) with 828 fork(s). There are 131 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 37 open issues and 379 have been closed. On average issues are closed in 105 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PyPortfolioOpt is 1.5.5

            kandi-Quality Quality

              PyPortfolioOpt has 0 bugs and 0 code smells.

            kandi-Security Security

              PyPortfolioOpt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              PyPortfolioOpt code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              PyPortfolioOpt is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PyPortfolioOpt releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 6525 lines of code, 436 functions and 34 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PyPortfolioOpt
            Get all kandi verified functions for this library.

            PyPortfolioOpt Key Features

            No Key Features are available at this moment for PyPortfolioOpt.

            PyPortfolioOpt Examples and Code Snippets

            No matching distribution found for scs==2.1.4
            Pythondot img1Lines of Code : 8dot img1License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
              - pip:
                - backtrader==1.9.76.123
                - livelossplot==0.5.4
                - pyportfolioopt==1.4.1
                - qdldl==0.1.5.post0
                - osqp==0.6.2.post0
                - pymdptoolbox==4.0b3
            

            Community Discussions

            QUESTION

            cvxpy: Converting a nonlinear constraint to an equivalent linear constraint
            Asked 2020-Apr-24 at 15:35

            Context: I'm the developer of PyPortfolioOpt, a python portfolio optimisation library, and I'm trying to allow users to add constraints to a maximum Sharpe ratio problem.

            Currently, users can pass their constraints as a lambda function, e.g to make all weights greater than 1%:

            ...

            ANSWER

            Answered 2020-Apr-24 at 15:35

            Perhaps there is some API for decomposing an already instantiated constraint so that I can put in a variable?

            Constraints are immutable by design. Immutability simplifies much of CVXPY’s logic.

            Why not construct a new constraint? You can certainly inspect the left and right hand sides of the constraint. Right now, that can be done by inspecting the args attribute (see https://github.com/cvxgrp/cvxpy/blob/master/cvxpy/constraints/nonpos.py#L97).

            Source https://stackoverflow.com/questions/61338298

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PyPortfolioOpt

            If you would like to play with PyPortfolioOpt interactively in your browser, you may launch Binder here. It takes a while to set up, but it lets you try out the cookbook recipes without having to deal with all of the requirements.

            Support

            Contributions are most welcome. Have a look at the Contribution Guide for more.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install pyportfolioopt

          • CLONE
          • HTTPS

            https://github.com/robertmartin8/PyPortfolioOpt.git

          • CLI

            gh repo clone robertmartin8/PyPortfolioOpt

          • sshUrl

            git@github.com:robertmartin8/PyPortfolioOpt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Portfolio Libraries

            pyfolio

            by quantopian

            leerob.io

            by leerob

            developerFolio

            by saadpasta

            PyPortfolioOpt

            by robertmartin8

            eiten

            by tradytics

            Try Top Libraries by robertmartin8

            MachineLearningStocks

            by robertmartin8Python

            MolecularNotes

            by robertmartin8Python

            CryptoGraphArb

            by robertmartin8Python

            KindleClippings

            by robertmartin8Python

            pValuation

            by robertmartin8Jupyter Notebook